package com.ruoyi.project.system.address.service;

import java.util.List;
import com.ruoyi.project.system.address.domain.FlowAddress;

/**
 * 推流Service接口
 * 
 * @author ruoyi
 * @date 2024-11-11
 */
public interface IFlowAddressService 
{
    /**
     * 查询推流
     * 
     * @param flowId 推流主键
     * @return 推流
     */
    public FlowAddress selectFlowAddressByFlowId(Long flowId);

    /**
     * 查询推流列表
     * 
     * @param flowAddress 推流
     * @return 推流集合
     */
    public List<FlowAddress> selectFlowAddressList(FlowAddress flowAddress);

    /**
     * 新增推流
     * 
     * @param flowAddress 推流
     * @return 结果
     */
    public int insertFlowAddress(FlowAddress flowAddress);

    /**
     * 修改推流
     * 
     * @param flowAddress 推流
     * @return 结果
     */
    public int updateFlowAddress(FlowAddress flowAddress);

    /**
     * 批量删除推流
     * 
     * @param flowIds 需要删除的推流主键集合
     * @return 结果
     */
    public int deleteFlowAddressByFlowIds(String flowIds);

    /**
     * 删除推流信息
     * 
     * @param flowId 推流主键
     * @return 结果
     */
    public int deleteFlowAddressByFlowId(Long flowId);
}
